// src/Cat.hpp
#ifndef CAT_HPP
#define CAT_HPP

#include "animal.hpp"
#include <iostream>

class Cat : public Animal {
public:
    explicit Cat(const std::string& name)
      : Animal(name) {}
    void speak() const override {
        std::cout << "I'm " << name_ << " the cat!\n";
    }
};

#endif // CAT_HPP